package com.example.kotlintest.enum_test;

public enum Season {

    Spring(1),
    Summer(2),
    Autumn(3),
    Winter(4);
    int index;
    private  Season(int index){
        this.index=index;
    }

    @Override
    public String toString() {
        return "Season{" +
                "index=" + index +
                '}';
    }
}
